package com.stone.business.zbtz.service;

import java.util.List;

import com.stone.common.pojo.TFile;

import frm.ssh.exception.AppException;
import frm.ssh.service.BaseService;

public class ZbtzService extends BaseService{

	
	/**
	 * 更新
	 * @param set 要改变的值
	 * @param ids 条件
	 * @param objectSimpleName
	 */
	public void update(final String set,final String ids,final String objectSimpleName){		
		super.updateByDHql(set, ids, null, null, objectSimpleName);
	}
	/**
	 * 删除多条记录
	 * 
	 * @param ids主键组合 以','号隔开
	 * @param objectSimpleName pojo
	 * @throws AppException
	 */
	public void doDelAll(final String ids,final String objectSimpleName) {
		super.deleteAll(ids, objectSimpleName);
	}
	/**
	 * 删除多条记录
	 * 
	 * @param ids主键组合 以','号隔开
	 * @param objectSimpleName pojo
	 * @throws AppException
	 */
	public void doDelAllBYDHSql(final String ids,final String objectSimpleName) {
		super.deleteAll(ids, objectSimpleName);
		super.deleteByDHql(" p_idsno in ("+ids+")", null, objectSimpleName);
	}	
	
	
	

	
	
}
